//Set the icon item
setIcon(<mob_grinding_utils:spikes>)

//Set the title String
setTitle("Automated Killing")

//Set the description String
setDescription("Craft Iron Spikes. When you find a Spawner, you can pick it up by Shift+Right-Clicking, or mine it with a Silktouch Pick. Now you can place the spawner anywhere and use Converyors, Fans, and Spikes to auto-kill mobs!")

//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/row 5/example_crafted_xp_tank")

//Set the position
setPos(-313,96)

//Hide the connection lines, so I can have a pretty shape
//hideLines()

criteria = addCriteria("spikes", "triumph:player_crafted_item")
criteria.setItem(<mob_grinding_utils:spikes>)